# $Id: PKGBUILD 65018 2012-02-20 01:58:01Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Jeff Mickey <j@codemac.net>

pkgname=wtf
pkgver=20071004
pkgrel=4
pkgdesc="Acronym dictionary"
arch=('any')
url="http://www.mu.org/~mux/wtf/"
license=('BSD')
source=("http://www.mu.org/~mux/${pkgname}/${pkgname}-${pkgver}.tar.gz"
        "https://raw.github.com/keenerd/wtf/ae2635e96bc47b8df673e2073659825a26a001e2/acronyms.computing"
        'LICENSE')
md5sums=('25944e275cc858e30cacea341509d19b'
         '00e89423eec6b3ccfc72ee32f1875298'
         'abac213cf24e9d5cab4e8115441eb717')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  install -D -m644 $pkgname.6 "${pkgdir}/usr/share/man/man6/$pkgname.6"
  install -D -m755 $pkgname   "${pkgdir}/usr/bin/$pkgname"
  install -d "${pkgdir}/usr/share/misc/"
  install -m644 acronyms acronyms.comp ../acronyms.computing "${pkgdir}/usr/share/misc/"
  install -Dm644 "${srcdir}/LICENSE" \
    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
